<%-- 
    Document   : managePayment
    Created on : Dec 7, 2012, 8:25:13 PM
    Author     : Pk
--%>

<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ taglib prefix="sj" uri="/struts-jquery-tags"%>
<html>
    <head>
        <sj:head/>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Manage Conference Payments</title>
        <script src="js/jquery.cookie.js"></script>
        <script src="js/coms.js"></script>
    </head>
    <body>
        <s:include value="/jsp/header.jsp">
            <s:param name="user" value="#session.user.username" />
        </s:include>
        <div class="container-fluid">
            <div class="row-fluid">
                <div class="span3">
                    <s:action name="selectMenu" executeResult="true"/>
                </div>
                <div class="span9">
                </div>
                <div class="row-fluid">
                    <table align="center" cellpadding="5">
                        <tr>
                            <td colspan="6"><h2>Manage Payments</h2><hr/>
                        </tr>                        

                        <s:iterator value="payment" var="p">
                            <tr>
                                <td colspan="6"><h3><s:property value="#p.name"/></h3></td>
                            </tr>
                            <tr>
                                <td>Conference Date</td>
                                <td>:</td>
                                <td><s:property value="#p.conferenceDate"/></td>
                                <td>Cost</td>
                                <td>:</td>
                                <td><s:property value="#p.cost"/></td>                                
                            </tr>
                            <tr>
                                <td>Registration Start Date</td>
                                <td>:</td>
                                <td><s:property value="#p.registrationStartDate"/>
                                </td>
                                <td>Registration End Date
                                </td>
                                <td>:</td>
                                <td><s:property value="#p.registrationEndDate"/></td>
                            </tr>
                            <tr>                                
                                <td>Total Registered Users</td>
                                <td>:</td>
                                <td><s:property value="#p.registeredUsers"/></td>
                                <td>Payment Completed</td>
                                <td>:</td>
                                <td><s:property value="#p.paidUsers"/></td>
                            </tr>
                            <tr>
                                <td colspan="6"><hr/></td>
                            </tr>
                        </s:iterator>
                            
                    </table>
                </div>
            </div>
        </div>
    </div>
    <s:include value="/jsp/footer.jsp"/>
</body>
</html>
<div class="hero-unit">
</body>
</html>
